package cn.felord.debezium.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 设备报警对象 scale_alarm_master
 *
 * @author bysen
 * @date 2024-09-05
 */
public class ScaleAlarmMaster
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 设备编号 */
    //@Excel(name = "设备编号")
    private String equNum;

    /** 炉号 */
    //@Excel(name = "炉号")
    private String lh;

    /** 炉次号 */
    //@Excel(name = "炉次号")
    private String lch;


    /** 报警类型 */
    //@Excel(name = "报警类型")
    private String alarmType;

    /** 牌号 */
    //@Excel(name = "牌号")
    private String ph;

    private Date createTime;
    private Date updateTime;
    private String remark;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getKsTime() {
        return ksTime;
    }

    public void setKsTime(Date ksTime) {
        this.ksTime = ksTime;
    }

    private Date ksTime;

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    private Date endTime;

    /** 保留字段1 */
    //@Excel(name = "保留字段1")
    private String retain1;

    /** 保留字段2 */
    //@Excel(name = "保留字段2")
    private String retain2;

    /** 保留字段3 */
    //@Excel(name = "保留字段3")
    private String retain3;

    /** 创建人 */
    //@Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "修改人", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquNum(String equNum)
    {
        this.equNum = equNum;
    }

    public String getEquNum()
    {
        return equNum;
    }
    public void setLh(String lh)
    {
        this.lh = lh;
    }

    public String getLh()
    {
        return lh;
    }
    public void setLch(String lch)
    {
        this.lch = lch;
    }

    public String getLch()
    {
        return lch;
    }

    public void setAlarmType(String alarmType)
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType()
    {
        return alarmType;
    }
    public void setPh(String ph)
    {
        this.ph = ph;
    }

    public String getPh()
    {
        return ph;
    }
    public void setRetain1(String retain1)
    {
        this.retain1 = retain1;
    }

    public String getRetain1()
    {
        return retain1;
    }
    public void setRetain2(String retain2)
    {
        this.retain2 = retain2;
    }

    public String getRetain2()
    {
        return retain2;
    }
    public void setRetain3(String retain3)
    {
        this.retain3 = retain3;
    }

    public String getRetain3()
    {
        return retain3;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(Date updateUser)
    {
        this.updateUser = updateUser;
    }

    public Date getUpdateUser()
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equNum", getEquNum())
            .append("lh", getLh())
            .append("lch", getLch())
            .append("alarmType", getAlarmType())
            .append("ph", getPh())
            .append("remark", getRemark())
            .append("retain1", getRetain1())
            .append("retain2", getRetain2())
            .append("retain3", getRetain3())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
